// 
// 登录 / 注册
// 

.dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  z-index: 1050;
  overflow: hidden;
  outline: 0;
  opacity: 0;
  transition: opacity 0.15s linear;

  &.show {
    opacity: 1;
  }

  .dialog-box {
    width: 400px;
    min-width: 360px;
    margin: 1.75rem auto;
    transform: translate(0, 0);
  }

  .dialog-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0.3rem;
    outline: 0;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 14px 45px, rgba(0, 0, 0, 0.12) 0px 10px 18px;
    
    .dialog-body {
      padding: 2rem;
    }
  }

  .dialog-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .6);
    z-index: -1;
    opacity: 1;
  }
}

// 
// Form
// 

.accounts-buttons {
  margin-top: .5rem;
  padding: .5rem 2.5rem;
}

// 
// Link
// 

#accountsLinksLogin,
#accountsLinksRegister {
  @include hover-focus {
    outline: none;
  }
}